import {IconImg} from '@/components/images'
import {View} from '@tarojs/components'
import {CSSProperties} from 'react'

export const VideoIconMask: React.FC<{
  style?: CSSProperties
}> = ({style}): JSX.Element => {
  return (
    <View className="absolute top-12_24 left-12_24 transform -translate-x-12_24 -translate-y-12_24 w-40 h-40">
      <IconImg
        imgName="autoplay"
        style={Object.assign(
          {
            width: '80rpx',
            height: '80rpx'
          },
          style
        )}
      ></IconImg>
    </View>
  )
}
